package com.njtoyo.taxi.admin.service.business.driver;

import com.njtoyo.taxi.admin.rest.presenter.business.driver.system_message.DriverSystemMessageDetailPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.system_message.EditWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.system_message.ListWrapper;
import com.taxi.entity.common.RestResult;

public interface SystemMessageService {
    RestResult getList(ListWrapper listWrapper);

    RestResult deleteCache();

    RestResult edit(EditWrapper editWrapper);

    RestResult delete(Long id);

    RestResult<DriverSystemMessageDetailPresenter> getDetail(Long id);

}
